# -*- coding: UTF-8 -*-
# @Project ：luffycity 
# @File    ：多态.py
# @Author  ：于金龙
# @IDE     ：PyCharm 
# @Date    ：2024/4/8 14:21
def func(arg):
    v1 = arg.copy()  # 浅拷贝
    print(v1)


# func("阿龙的代码在爆粗")
func([11, 22, 33, 44])


class Email(object):
    def send(self):
        print("发邮件")


class Message(object):
    def send(self):
        print("发消息")


v1 = Email()
v1.send()

v2 = Message()
v2.send()